package com.ruicar.afs.cloud.channel.mange.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.channel.mange.entity.ChannelAppertainRegion;
import com.ruicar.afs.cloud.channel.mange.entity.ChannelUser;

import java.util.List;


/**
 * @author xudongdong
 * @date 2020-06-03
 */
public interface ChannelUserMapper extends BaseMapper<ChannelUser> {

    List<ChannelAppertainRegion> findAppertainByUserId(Long id);

    List<ChannelAppertainRegion> findAuthorizeByUserId(Long id);
}
